package com.ruoyi.project.business.mapper;

import com.ruoyi.project.business.domain.BusinessFarmServiceOrder;

import java.util.List;

/**
 * 农田服务订单Mapper接口
 * 
 * @author ruoyi
 * @date 2020-10-22
 */
public interface BusinessFarmServiceOrderMapper
{
    /**
     * 查询农田服务订单
     * 
     * @param id 农田服务订单ID
     * @return 农田服务订单
     */
    public BusinessFarmServiceOrder selectBusinessFarmServiceOrderById(Long id);

    /**
     * 查询农田服务订单列表
     * 
     * @param businessFarmServiceOrder 农田服务订单
     * @return 农田服务订单集合
     */
    public List<BusinessFarmServiceOrder> selectBusinessFarmServiceOrderList(BusinessFarmServiceOrder businessFarmServiceOrder);

    /**
     * 新增农田服务订单
     * 
     * @param businessFarmServiceOrder 农田服务订单
     * @return 结果
     */
    public int insertBusinessFarmServiceOrder(BusinessFarmServiceOrder businessFarmServiceOrder);

    /**
     * 修改农田服务订单
     * 
     * @param businessFarmServiceOrder 农田服务订单
     * @return 结果
     */
    public int updateBusinessFarmServiceOrder(BusinessFarmServiceOrder businessFarmServiceOrder);

    /**
     * 删除农田服务订单
     * 
     * @param id 农田服务订单ID
     * @return 结果
     */
    public int deleteBusinessFarmServiceOrderById(Long id);

    /**
     * 批量删除农田服务订单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBusinessFarmServiceOrderByIds(Long[] ids);
}
